package com.itheima;

import com.itheima.service.BookService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest(classes = Application.class)   //集成测试类
public class AppTest {
    @Autowired
    private BookService bookService;
    @Test
    public void test01() {
        bookService.getById(1001);
    }
}
